package com.menhai.personmanagement.plus;

import org.springframework.web.servlet.HandlerInterceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class CurrUserInfo implements HandlerInterceptor {

    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler){
        System.out.println("---------------------------------------------------------------------");
        System.out.println(response.getHeaderNames());
        return true;
    }
}
